package com.jy.wms.dao;

import com.jy.wms.common.base.InventoryStatistics;
import com.jy.wms.common.base.LogisticsExpress;
import com.jy.wms.common.base.BaseDao;
import com.jy.wms.common.base.ShipmentOrderFx;
import com.jy.wms.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InventoryStatisticsMapper extends BaseDao<InventoryStatistics> {
    /**
     * 库存统计报表
     * @return
     */
    public List<InventoryStatistics> stockCount(@Param("InventoryStatistics")InventoryStatistics entity);
    /**
     * 发运订单分析
     * @return
     */
    public List<ShipmentOrderFx> shipmentOrderFxa(@Param("hzid")String hzid, @Param("ckid")String ckid,@Param("cjsj_start") String cjsj_start,@Param("cjsj_end") String cjsj_end,@Param("hpmc") String hpmc,@Param("hpbh") String hpbh);
    /**
     *计算单个货品的总总量_Jane
     */
    public List<ShipmentOrderFx> dghpzl(@Param("hzid")String hzid, @Param("ckid")String ckid, @Param("hpid")String hpid);

    /**
     *计算一个单据的总重量_Jane
     * @param id
     * @return
     */
    public ShipmentOrderFx sozzl(@Param("id") String id);
    /**
     *查询当前货主下的所有货品种类_Jane
     */
    public List<WmsGoodsType> seachHpzl(@Param("ckid") String ckid,@Param("hzid") String hzid);
    /**
     *根据种类Id查询货品_Jane
     */
    public List<WmsGoods> seachHpByZlid(@Param("list")List<String> list);
    /**
     *查询订单渠道_Jane
     */
    public WmsOrderChannel seachDdqd(@Param("ckid") String ckid,@Param("hzid") String hzid,@Param("id") String id);
    /**
     *品项数分析_Jane
     */
    public List<ShipmentOrderFx> seachPxsfx(@Param("ShipmentOrderFx") ShipmentOrderFx entity);
    /**
     *物流快递表_Jane
     */
    public List<LogisticsExpress> seachWlkd(@Param("ckid") String ckid, @Param("sshzid") String sshzid);
}
